
package br.ufsc.natan.mddfromuidtoui;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

import javax.faces.bean.ManagedBean;
import javax.faces.bean.RequestScoped;

@ManagedBean
@RequestScoped
public class SearchHotelsstates0Bean implements Serializable {
	
	private static final long serialVersionUID = 1L;



	private Outputstructureset1 outputstructureset1 = new Outputstructureset1();

	public Outputstructureset1 getOutputstructureset1(){
		return outputstructureset1;
	}

	public void setOutputstructureset1(Outputstructureset1 outputstructureset1){
		this.outputstructureset1 = outputstructureset1;
	}

	public class Outputstructureset1{

		private String outputdataitem1;

		public String getOutputdataitem1() {
			return outputdataitem1;
		}

		public void setOutputdataitem1(String outputdataitem1) {
			this.outputdataitem1 = outputdataitem1;
		}

		private String outputdataitem2;

		public String getOutputdataitem2() {
			return outputdataitem2;
		}

		public void setOutputdataitem2(String outputdataitem2) {
			this.outputdataitem2 = outputdataitem2;
		}

		private String outputdataitem3;

		public String getOutputdataitem3() {
			return outputdataitem3;
		}

		public void setOutputdataitem3(String outputdataitem3) {
			this.outputdataitem3 = outputdataitem3;
		}

		private String outputdataitem4;

		public String getOutputdataitem4() {
			return outputdataitem4;
		}

		public void setOutputdataitem4(String outputdataitem4) {
			this.outputdataitem4 = outputdataitem4;
		}

		private String outputdataitem5;

		public String getOutputdataitem5() {
			return outputdataitem5;
		}

		public void setOutputdataitem5(String outputdataitem5) {
			this.outputdataitem5 = outputdataitem5;
		}

		private String outputdataitem6;

		public String getOutputdataitem6() {
			return outputdataitem6;
		}

		public void setOutputdataitem6(String outputdataitem6) {
			this.outputdataitem6 = outputdataitem6;
		}


		private ArrayList<Outputstructureset1> list = null;

		public ArrayList<Outputstructureset1> getList() {
			if(list != null){
				return list;
			}
			ArrayList<Outputstructureset1> outputstructureset1List = new ArrayList<Outputstructureset1>();
			for(int index = 0; index <= 10; index++){
				Outputstructureset1 outputstructureset1 = new Outputstructureset1();
				outputstructureset1.setOutputdataitem1("Title"+index);
				outputstructureset1.setOutputdataitem2("Description"+index);
				outputstructureset1.setOutputdataitem3("Adress"+index);
				outputstructureset1.setOutputdataitem4("Contact"+index);
				outputstructureset1.setOutputdataitem5("Price"+index);
				outputstructureset1.setOutputdataitem6("Rating"+index);
				outputstructureset1List.add(outputstructureset1);
			}
			list = outputstructureset1List;
			return list;
		}

	}

}
